/**
 * 
 */
package br.com.gcl.action;

import java.util.Map;

import org.apache.struts2.interceptor.SessionAware;

/**
 * @author Alex
 *
 */
public abstract class AbstractAction implements SessionAware {
	
	public static String SUCESSO = "sucess";
		
	public static String ERRO = "error";

	protected Exception erro = null;
	
	protected Map<String, Object> session;
	
	/**
	 * @return the erro
	 */
	public StackTraceElement[] getErro() {
		return erro.getStackTrace();
	}
	
	public void setSession(Map<String, Object> session) {
		this.session = session;
	}
	
}
